class Teacher extends Person{
    public Teacher(String name) {
        super(name);
    }

    @Override
    public void performAction() {
        System.out.println(name + " 正在授课。");
    }

    public void paigaihomework() {
        System.out.println(name + " 正在批改作业。");
    }
}
